﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UC_Handscript.ascx.cs"
    Inherits="Stationery.UC.UC_Handscript" %>
<%@ Register Assembly="DevExpress.Web.ASPxHtmlEditor.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxHtmlEditor" TagPrefix="dxhe" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.Web.ASPxSpellChecker.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxSpellChecker" TagPrefix="dxwsc" %>
<table cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td>
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td width="60px">
                        Bài viết:&nbsp;
                    </td>
                    <td>
                        <dxe:ASPxComboBox ID="ASPxComboBoxHandscript" runat="server" 
                            OnSelectedIndexChanged="ASPxComboBoxHandscript_SelectedIndexChanged"
                            ValueType="System.String" AutoPostBack="True">
                            <Items>
                                <dxe:ListEditItem Text="Giới thiệu" Value="intro" />
                                <dxe:ListEditItem Text="Cửa hàng" Value="place" />
                                <dxe:ListEditItem Text="Dịch vụ" Value="service" />
                                <dxe:ListEditItem Text="Hướng dẫn mua hàng" Value="guide" />
                                <dxe:ListEditItem Text="Quy trình sản xuất rau hữu cơ" Value="process" />
                            </Items>
                        </dxe:ASPxComboBox>
                    </td>
                    <td>
                        &nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ErrorMessage="Chọn bài viết" ControlToValidate="ASPxComboBoxHandscript"></asp:RequiredFieldValidator>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td style="padding-top: 4px;">
            <dxhe:ASPxHtmlEditor ID="ASPxHtmlEditorHandScript" runat="server" Width="100%">
                <SettingsImageUpload UploadImageFolder="~/Image/Upload/">
                    <ValidationSettings AllowedContentTypes="image/jpeg,image/pjpeg,image/gif,image/png,image/x-png">
                    </ValidationSettings>
                </SettingsImageUpload>
            </dxhe:ASPxHtmlEditor>
        </td>
    </tr>
    <tr>
        <td style="padding-top:1px;">
            <dxe:ASPxButton ID="ASPxButton1" runat="server" Text="Lưu" 
                onclick="ASPxButton1_Click">
            </dxe:ASPxButton>
        </td>
    </tr>
</table>
